import request from '../request'
const CART_ORDER = '/member/order'
export function cartorderapi(obj) {
    return request({
        url: CART_ORDER,
        method: 'post',
        data: obj
    })
}
export function cartdetail(id) {
    return request({
        url: `/member/order/${id}`,
        method: 'get',
    })
}
//获取订单
export function orderlist(params) {
    return request({
        url: CART_ORDER,
        method: 'get',
        params: params
    })
}